package org.scirp.ijmis.service.personpaper.impl;

import java.util.List;

import org.scirp.ijmis.dao.personpaper.IOperationlogDAO;
import org.scirp.ijmis.po.personpaper.TOperationlog;
import org.scirp.ijmis.service.personpaper.IOperationlogService;

public class OperationlogServiceImpl implements IOperationlogService{

	private IOperationlogDAO operationlogDAO;
	
	public void saveOperationlog(TOperationlog tol) {
		operationlogDAO.doInsertStartState(tol);
	}
	public void deleteOperationlogByPaperId(Long pid) {
		operationlogDAO.delete(pid);
	}
	public List<TOperationlog> getOperationListByPaperId(Long paperid) {
		return operationlogDAO.getOperationListByPaperId(paperid);
	}
	public IOperationlogDAO getOperationlogDAO() {
		return operationlogDAO;
	}
	public void setOperationlogDAO(IOperationlogDAO operationlogDAO) {
		this.operationlogDAO = operationlogDAO;
	}
}
